package com.api.devices.mapper;

import com.api.devices.domain.query.ElementQuery;
import com.api.devices.domain.query.RobotQuery;
import com.api.devices.domain.vo.ElementVo;
import com.api.devices.domain.vo.RobotVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ElementMapper {
    Long create(@Param("vo") ElementVo vo);
    void modify(@Param("vo") ElementVo vo);

    void delete(@Param("vo") ElementVo vo);
    ElementQuery item(@Param("vo") ElementVo vo);
    List<ElementQuery> list(@Param("vo") ElementVo vo);
}
